package MM;

import javax.jws.soap.SOAPMessageHandlers;

public class PLO24 {
    public static void main(String[] args) {
        dog dog=new dog();
        dog.age=3;
        dog.name="乐乐";
        dog.weight=2.5;
        System.out.println(dog.say());

    }
}
class dog{
    String name;
    int age;
    double weight;
    public String say(){
        String say ="我叫"+name+",我今年"+age+"了"+",我的体重是"+weight+"kg";
        return say;
    }

}
